import request from '../../utils/request/index.js'

const getTagByImgApi = (data) => {
  return request.post('/img/getTag',data)
}

const getElementByImgApi = (data) => {
  return request.post('/img/getElement',data)
}

const saveTagAndElement = (data) => {
  return request.post('/img/tag',data)
}



// const removeResourceByIdApi = (id) => {
//   return request.delete(`/app/resource/${id}`)
// }
export {
  getTagByImgApi,
  saveTagAndElement,
  getElementByImgApi,

  // removeResourceByIdApi
}
